//
// Created by apple on 2025/4/10.
//
#include "led.h"


void led_on(){
    HAL_GPIO_WritePin(run_led_GPIO_Port, run_led_Pin, GPIO_PIN_RESET);
}

void led_off(){
    HAL_GPIO_WritePin(run_led_GPIO_Port, run_led_Pin, GPIO_PIN_SET);
}

void led_blink(){
    delay_ms(500);
    led_on();
    delay_ms(500);
    led_off();
}